# @Author  : mlong


# @Time    : 2022/8/14 12:19 PM

from task.base.baseApi import Base
import task.pageObject
import allure

class PageYouDao(Base):
    @allure.step('有道翻译')
    def click_youdao_input(self, translate_text):
        self.base_input(task.pageObject.translate_input, translate_text)


    @allure.step('首页搜索')
    def click_youdao_bat(self):
        self.base_click(task.pageObject.translate_btn)


